/**
 * 工作台按钮
 */
import React from 'react';
import styles from './index.less';

export default class extends React.Component {
  static defaultProps = {
    icon: '',
    title: '',
  };
  render() {
    return (
      <a className={styles.button}>
        <span className={styles.icon}>{this.props.icon}</span>
        <span className={styles.title}> {this.props.title}</span>
      </a>
    );
  }
}
